package com.xaw.medicalcrane.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发布文章
 * </p>
 *
 * @author
 * @since 2023-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PublishAnArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发布文章主键
     */
    @TableId(value = "publish_an_article_id", type = IdType.AUTO)
    private Integer publishAnArticleId;

    /**
     * 姓名
     */
    private String publishAnArticleName;

    /**
     * 文章内容
     */
    private String articleContent;

    /**
     * 文章标签
     */
    private String articleTags;

    /**
     * 附件上传关联ID
     */
    private String attachmentUploadAssociation;

    /**
     * 文件状态(0隐藏 1发布)
     */
    private Integer articleStatus;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 审核状态
     */
    private Integer auditStatus;

    /**
     * 补回原因
     */
    private String makeUpTheReason;

    /**
     * 删除标识(0未删除 1已删除 )
     */
    @TableLogic
    private Integer deleteFlag;


}
